*----------------------------------------------------------------------*
***INCLUDE LZFIFG_INV_INTERFACEF01.
*----------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Form frm_get_config
*&---------------------------------------------------------------------*
*& text
*&---------------------------------------------------------------------*
*& -->  p1        text
*& <--  p2        text
*&---------------------------------------------------------------------*
FORM FRM_GET_CONFIG CHANGING CS_MSG TYPE BAPIRET2.

  CLEAR CS_MSG.

  IF GO_TAX IS INITIAL.

    CREATE OBJECT GO_TAX.

*&--------获取配置表
    SELECT SINGLE *
      INTO GO_TAX->MS_ZFIT043
    FROM ZFIT043
   WHERE ZIFNAME = 'ZFIU023'.

    IF SY-SUBRC <> 0.
      CS_MSG-TYPE = 'E'.
      CS_MSG-MESSAGE = '未找到诺诺发票相关配置，请检查配置表ZFIT043'(T03).
    ENDIF.
  ENDIF.
ENDFORM.
